package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题库管理对象 qt_tk
 * 
 * @author zqq
 * @date 2021-11-16
 */
public class QtTk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String tkId;

    /** 章节id */
    @Excel(name = "章节id")
    private String chapterId;

    /** 标题 */
    @Excel(name = "标题")
    private String tkTitle;

    /** 答案 */
    @Excel(name = "答案")
    private String tkKey;

    /** 解析 */
    @Excel(name = "解析")
    private String tkAnalys;

    /** 题型id */
    @Excel(name = "题型id")
    private String tkTypeId;

    /** 难度 */
    @Excel(name = "难度")
    private String difficulty;

    /** 分值 */
    @Excel(name = "分值")
    private String score;

    /** 备用字符串 */
    private String tkStr;

    /** 备用整数 */
    private Long tkInt;
    //类型id
    private String typeId;
    //课程id
    private String courseId;
    //类型名称
    private String typeName;
    //课程名称
    private String courseName;
    //章节名称
    private String chapterName;
    //题型名称
    private String tkTypeName;
    /**  选项列表   */
    private List<QtOption> options;

    public List<QtOption> getOptions() {
        return options;
    }

    public void setOptions(List<QtOption> options) {
        this.options = options;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getChapterName() {
        return chapterName;
    }

    public void setChapterName(String chapterName) {
        this.chapterName = chapterName;
    }

    public String getTkTypeName() {
        return tkTypeName;
    }

    public void setTkTypeName(String tkTypeName) {
        this.tkTypeName = tkTypeName;
    }


    /** 章节管理信息 */
    private List<QtChapter> qtChapterList;

    public void setTkId(String tkId) 
    {
        this.tkId = tkId;
    }

    public String getTkId() 
    {
        return tkId;
    }
    public void setChapterId(String chapterId) 
    {
        this.chapterId = chapterId;
    }

    public String getChapterId() 
    {
        return chapterId;
    }
    public void setTkTitle(String tkTitle) 
    {
        this.tkTitle = tkTitle;
    }

    public String getTkTitle() 
    {
        return tkTitle;
    }
    public void setTkKey(String tkKey) 
    {
        this.tkKey = tkKey;
    }

    public String getTkKey() 
    {
        return tkKey;
    }
    public void setTkAnalys(String tkAnalys) 
    {
        this.tkAnalys = tkAnalys;
    }

    public String getTkAnalys() 
    {
        return tkAnalys;
    }
    public void setTkTypeId(String tkTypeId) 
    {
        this.tkTypeId = tkTypeId;
    }

    public String getTkTypeId() 
    {
        return tkTypeId;
    }
    public void setDifficulty(String difficulty) 
    {
        this.difficulty = difficulty;
    }

    public String getDifficulty() 
    {
        return difficulty;
    }
    public void setScore(String score) 
    {
        this.score = score;
    }

    public String getScore() 
    {
        return score;
    }
    public void setTkStr(String tkStr) 
    {
        this.tkStr = tkStr;
    }

    public String getTkStr() 
    {
        return tkStr;
    }
    public void setTkInt(Long tkInt) 
    {
        this.tkInt = tkInt;
    }

    public Long getTkInt() 
    {
        return tkInt;
    }

    public List<QtChapter> getQtChapterList()
    {
        return qtChapterList;
    }

    public void setQtChapterList(List<QtChapter> qtChapterList)
    {
        this.qtChapterList = qtChapterList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tkId", getTkId())
            .append("chapterId", getChapterId())
            .append("tkTitle", getTkTitle())
            .append("tkKey", getTkKey())
            .append("tkAnalys", getTkAnalys())
            .append("tkTypeId", getTkTypeId())
            .append("difficulty", getDifficulty())
            .append("score", getScore())
            .append("tkStr", getTkStr())
            .append("tkInt", getTkInt())
            .append("qtChapterList", getQtChapterList())
            .toString();
    }
}
